Skip to content

Improve N-Queens input validation and solution counting clarity#1871

Open
MayankSharma-2812 wants to merge 1 commit intoTheAlgorithms:masterfrom
MayankSharma-2812:improve-nqueens-solution-handling
Open

Improve N-Queens input validation and solution counting clarity#1871
MayankSharma-2812 wants to merge 1 commit intoTheAlgorithms:masterfrom
MayankSharma-2812:improve-nqueens-solution-handling

Conversation

@MayankSharma-2812
Copy link

Improved input validation for board size and clarified solve() behavior by removing misleading return values while preserving solution counting logic.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.91%. Comparing base (08d8c6b) to head (22399de).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1871      +/-   ##
==========================================
- Coverage   85.91%   85.91%   -0.01%     
==========================================
  Files         379      379              
  Lines       19778    19777       -1     
  Branches     3015     3017       +2     
==========================================
- Hits        16993    16992       -1     
  Misses       2785     2785              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants